package com.haoze.nurseapp.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "staticmedicine_record")
public class StaticmedicineRecordEntity {

    @Id
    @Column(name = "STATICMEDICINE_ID")
    private String staticmedicineId;

    @Column(name = "GMT_CREATE")
    private Date gmtCreate;//创建时间

    @Column(name = "GMT_MODIFY")
    private Date gmtModify;//修改时间

    @Column(name = "DATA_VERSION")
    private Integer dataVersion;//数据版本

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;//醫院id

    @Column(name = "INPAT_NUM")
    private String inpatNum;//住院号

    @Column(name = "ORDER_NO")
    private Integer orderNo;//处方药品组号

    @Column(name = "EXECUTE_PERSON")
    private String executePerson;//执行人名称

    @Column(name = "EXECUTE_PERSON_ID")
    private String executePersonId;//执行人ID

    @Column(name = "EXECUTE_TIME")
    private Date executeTime;//执行时间

    @Column(name = "STATUS")
    private String status;//0 未执行 1 已执行

    @Column(name = "BAR_CODE")
    private String barCode;//静配中心批次编码

    @Column(name = "TYPE")
    private String type;//类型（receive已收还是return退药）

    @Column(name = "RETURN_REASON")
    private String returnReason;//退药原因

    @Column(name = "RETURN_REASON_ID")
    private String returnReasonId;//退药原因id

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getStaticmedicineId() {
        return staticmedicineId;
    }

    public void setStaticmedicineId(String staticmedicineId) {
        this.staticmedicineId = staticmedicineId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public String getExecutePerson() {
        return executePerson;
    }

    public void setExecutePerson(String executePerson) {
        this.executePerson = executePerson;
    }

    public String getExecutePersonId() {
        return executePersonId;
    }

    public void setExecutePersonId(String executePersonId) {
        this.executePersonId = executePersonId;
    }

    public Date getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Date executeTime) {
        this.executeTime = executeTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReturnReason() {
        return returnReason;
    }

    public void setReturnReason(String returnReason) {
        this.returnReason = returnReason;
    }

    public String getReturnReasonId() {
        return returnReasonId;
    }

    public void setReturnReasonId(String returnReasonId) {
        this.returnReasonId = returnReasonId;
    }
}
